@import 'common';

#nav {
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    border-bottom: solid 1px #B3B3B3;
    background: #fafafa;
    .navlist {
        position: relative;
        height: 0.5rem;
        li {
            float: left;
            margin: 0;
            height: 0.5rem;
            width: 25%;
            a {
                width: 100%;
                display: inline-block;
                height: 0.5rem;
                border-right: 0.01rem solid #EAEAEA;
                text-align: center;
                span {
                    display: inline-block;
                    width: 0.5rem;
                    height: 0.5rem;
                    background: url("../img/icon.png") no-repeat 0 -0.46rem;
                    background-size: 2.14rem auto;
                }
                .active{
                    background-position: 0 0;
                }
                .active1{
                    background-position: -0.46rem -0.46rem;
                }
                .active2{
                    background-position: -1.6rem -0.46rem;
                }
                .active3{
                    background-position: -1rem -0.46rem;
                }
            }
        }
    }
}

.indexslider {
    position: relative;
    top: .51rem;
    left: 0;
    width: 100%;
    height: 2rem;
    #topSlider {
        height: 2rem;
    }
    .swiper-container {
        margin: 0 auto;
        position: relative;
        overflow: hidden;
        z-index: .01rem;
        img {
            height: 2rem;
            width: 100%;
            border: 0;
        }
        .topzhezhao {
            height: .45rem;
            width: 100%;
            position: absolute;
            bottom: 0;
            left: 0;
            opacity: 0.7;
            background-color: #000;
            z-index: 999;
            .leftslidecontent {
                width: 2rem;
                height: .45rem;
                float: left;
                p {
                    line-height: .2rem;
                    display: block;
                    width: 2rem;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    color: #fff;
                    text-indent: .12rem;
                }
            }
            a {
                width: 1rem;
                height: .3rem;
                line-height: .3rem;
                background-color: #15bd10;
                color: #fff;
                border-radius: .1rem;
                display: block;
                text-align: center;
                font-size: .18rem;
                margin-top: .07rem;
                margin-right: .05rem;
                float: right;
            }
        }
    }
}

.productul {
    position: relative;
    top: .6rem;
    left: 0;
    width: 99%;
    overflow: hidden;
    margin: 0px auto .05rem auto;
     ul {
        width: 100%;
        li {
            min-height: 1.25rem;
            overflow: hidden;
            background-color: #fff;
            box-shadow: 0 0 .05rem #ccc;
            border: .01rem solid #f2f2f2;
            margin: .1rem;
             a {
                width: 100%;
                display: block;
                overflow: hidden;
                .triangle-topleft {
                    width: 0;
                    height: 0;
                    border-top: .6rem solid #1aa818;
                    border-right: .6rem solid transparent;
                    position: relative;
                    z-index: 990;
                    cursor: pointer;
                }
                .shuxing {
                    position: relative;
                    z-index: 999;
                    transform: rotate(-45deg);
                    color: #fff;
                    font-size: .14rem;
                    width: .4rem;
                    height: .4rem;
                    margin-top: -.6rem;
                    display: block;
                    padding-top: .05rem;
                    padding-left: .1rem;
                    cursor: pointer;
                }
                .leftimages {
                    width: 1rem;
                    height: 1rem;
                    margin-top: -.35rem;
                    img {
                        width: 1rem;
                        min-height: 1rem;
                        background: #fff url(../img/loading.gif) center center no-repeat;
                        background-size: .15rem auto;
                    }
                }
                .productcontent {
                    width: 64%;
                    margin-top: -.4rem;
                    .ptitle {
                        font-size: .16rem;
                        color: #4a534e;
                        font-weight: bold;
                        display: block;
                        font-family: "Microsoft YaHei";
                    }
                    .pl10 {
                        padding-left: .1rem;
                    }
                    .pdes {
                        font-size: .13rem;
                        color: #999;
                        margin-top: .05rem;
                        display: block;
                    }
                    .pprice {
                        margin-top: .1rem;
                        font-size: .14rem;
                        color: #4a4a4a;
                        .green {
                            color: #00b500;
                            font-weight: bold;
                        }
                    }
                }
            }
        }
    }
}